﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.SignalR;


namespace MoveDemoApplication
{
    public class MoveHub : Hub
    {
        public void UpdateModel(MoveModel moveModel)
        {
            Clients.AllExcept(Context.ConnectionId).SendMove(moveModel);
        }
    }


    [Serializable]
    public class MoveModel
    {

        public double Left { get; set; }

        public double Top { get; set; }
    }
}